QT       += core gui sql network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
INCLUDEPATH += module
INCLUDEPATH += ../../elfproj
include(../qtsingleapplication/src/qtsingleapplication.pri)

SOURCES += \
    ../../elfproj/support/sp_env.cpp \
    main.cpp \
    mainwindow.cpp \
    module/editdialog.cpp \
    module/entityeditor.cpp \
    module/logviewer.cpp \
    module/querywidget.cpp

HEADERS += \
    ../../elfproj/common/baseeditor.h \
    ../../elfproj/support/mysql_helper.h \
    ../../elfproj/support/odbc_helper.h \
    ../../elfproj/support/sp_env.h \
    g_ver.h \
    m_fhs.h \
    mainwindow.h \
    module/editdialog.h \
    module/entityeditor.h \
    module/logviewer.h \
    module/querywidget.h

FORMS += \
    mainwindow.ui \
    module/editdialog.ui \
    module/entityeditor.ui \
    module/logviewer.ui \
    module/querywidget.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc

RC_ICONS = business.ico
